import request from "@/utils/request";

// 查询设备类型&监控项绑定列表
export function listLog(params) {
  return request({
    url: `/system/log/devStatusChanges`,
    method: "get",
    params
  });
}

// 查询设备类型&监控项绑定详细
export function getBind(bindId) {
  return request({
    url: "system/modalityMonitor/" + bindId,
    method: "get",
  });
}

// 新增设备类型&监控项绑定
export function addBind(data) {
  return request({
    url: "/system/modalityMonitor/batchAdd",
    method: "post",
    data: data,
  });
}

// 修改设备类型&监控项绑定
export function updateBind(data) {
  return request({
    url: "system/modalityMonitor",
    method: "put",
    data: data,
  });
}

// 删除设备类型&监控项绑定
export function delBind(bindId) {
  return request({
    url: "/system/modalityMonitor/" + bindId,
    method: "delete",
  });
}

//
